package com.fortune.vo.dRole;
/**
 * 
 * @author ran
 *
 */

import java.util.List;

import com.fortune.constants.enums.DRoleType;

import io.swagger.annotations.ApiModelProperty;

public class DRoleDetail {
	@ApiModelProperty(example="岗位id")
	private String id;
	@ApiModelProperty(example="岗位名称")
	private String name;
	@ApiModelProperty(example="岗位说明")
	private String memo;
	@ApiModelProperty(example="岗位类型（MR 默认，ZDY 自定义）")
	private DRoleType type;
	@ApiModelProperty(value="权限列表")
	private List<PermissionInDRole> permissions;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	public DRoleType getType() {
		return type;
	}
	public void setType(DRoleType type) {
		this.type = type;
	}
	public List<PermissionInDRole> getPermissions() {
		return permissions;
	}
	public void setPermissions(List<PermissionInDRole> permissions) {
		this.permissions = permissions;
	}
	@Override
	public String toString() {
		return "DRoleDetail [id=" + id + ", name=" + name + ", memo=" + memo + ", type=" + type + ", permissions="
				+ permissions + "]";
	}
}
